package com.ttxs.fileformathandling.model.dto.userapiinfo;

import com.ttxs.fileformathandling.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询请求
 *
 * @author cwt
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserApiInfoQueryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 关联用户id
     */
    private Long userId;

    /**
     * 关联接口id
     */
    private Long apiId;

    /**
     * 总调用次数
     */
    private Integer totalNum;

    /**
     * 剩余调用次数
     */
    private Integer leftNum;

    /**
     * 0-正常，1-异常
     */
    private Integer status;


    private static final long serialVersionUID = 1L;
}